package com.baize.cpdepus.service;

import com.baize.cpdepus.common.R;
import com.baize.cpdepus.entity.Comment;

import java.util.List;

//评论业务层接口
public interface CommentService {

    //分页查看所有评论
    R<List<Comment>> lookAll(Integer current, Integer article);

    //添加一条评论
    boolean insertOneUpVote(Comment comment);
}
